package com.scm.bean;

import java.sql.Timestamp;

/**
 * Addorder entity. @author MyEclipse Persistence Tools
 */

public class Addorder implements java.io.Serializable {

	// Fields

	private Integer addOrderId;
	private Addinfo addinfo=new Addinfo();
	private Part part=new Part();
	private String addReason;
	private Timestamp estimateFinishDate;
	private Integer needCount;
	private Double money;

	// Constructors

	/** default constructor */
	public Addorder() {
	}

	/** full constructor */
	public Addorder(Addinfo addinfo, Part part, String addReason,
			Timestamp estimateFinishDate, Integer needCount, Double money) {
		this.addinfo = addinfo;
		this.part = part;
		this.addReason = addReason;
		this.estimateFinishDate = estimateFinishDate;
		this.needCount = needCount;
		this.money = money;
	}

	// Property accessors

	public Integer getAddOrderId() {
		return this.addOrderId;
	}

	public void setAddOrderId(Integer addOrderId) {
		this.addOrderId = addOrderId;
	}

	public Addinfo getAddinfo() {
		return this.addinfo;
	}

	public void setAddinfo(Addinfo addinfo) {
		this.addinfo = addinfo;
	}

	public Part getPart() {
		return this.part;
	}

	public void setPart(Part part) {
		this.part = part;
	}

	public String getAddReason() {
		return this.addReason;
	}

	public void setAddReason(String addReason) {
		this.addReason = addReason;
	}

	public Timestamp getEstimateFinishDate() {
		return this.estimateFinishDate;
	}

	public void setEstimateFinishDate(Timestamp estimateFinishDate) {
		this.estimateFinishDate = estimateFinishDate;
	}

	public Integer getNeedCount() {
		return this.needCount;
	}

	public void setNeedCount(Integer needCount) {
		this.needCount = needCount;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

}